﻿
namespace SuperGo.SilverlightLib.History {
    public abstract class HistoryEvent {
        private readonly Board _board;
        private readonly int _blackCaptures;
        private readonly int _whiteCaptures;

        protected HistoryEvent(Board board, int blackCaptures, int whiteCaptures) {
            _board = board;
            _blackCaptures = blackCaptures;
            _whiteCaptures = whiteCaptures;
        }

        public Board Board {
            get { return _board; }
        }

        public int BlackCaptures {
            get { return _blackCaptures; }
        }

        public int WhiteCaptures {
            get { return _whiteCaptures; }
        }
    }
}
